package com.wanmait.heating.pojo;

import com.fasterxml.jackson.annotation.JsonInclude;

import java.io.Serializable;
import java.util.Date;

@JsonInclude(JsonInclude.Include.NON_NULL)
public class Bill implements Serializable {
    private Integer id;

    /**
	* 联系人姓名
	*/
    private String userName;

    /**
	* 联系人电话
	*/
    private String phone;

    /**
	* 工人id
	*/
    private Integer workerId;

    /**
	* 用户下单时间
	*/
    private Date orderTime;

    /**
	* 系统派单时间
	*/
    private Date sendTime;

    /**
	* 订单的状态  1：正常单  2：工人抢单
	*/
    private Integer state;

    /**
	* 工人抢单/接单时间
	*/
    private Date reciveTime;

    /**
	* 工人完成时间
	*/
    private Date finishTime;

    /**
	* 用户期望开始时间
	*/
    private Date startTime;

    /**
	* 用户期望结束时间
	*/
    private Date overTime;

    /**
	* 用户地址id
	*/
    private Integer addressId;

    /**
	* 情况描述
	*/
    private String description;

    /**
	* 进程id： 未接单、已接单、进行中
	*/
    private Integer progressId;

    /**
	* 满意程度：1 不满意 2一般 3满意 4非常满意
	*/
    private Integer score;

    /**
	* 备注（用户）
	*/
    private String remarks;

    /**
	* 目前状态（1：可用 0：不可用）
	*/
    private Boolean enable;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getWorkerId() {
        return workerId;
    }

    public void setWorkerId(Integer workerId) {
        this.workerId = workerId;
    }

    public Date getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(Date orderTime) {
        this.orderTime = orderTime;
    }

    public Date getSendTime() {
        return sendTime;
    }

    public void setSendTime(Date sendTime) {
        this.sendTime = sendTime;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Date getReciveTime() {
        return reciveTime;
    }

    public void setReciveTime(Date reciveTime) {
        this.reciveTime = reciveTime;
    }

    public Date getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(Date finishTime) {
        this.finishTime = finishTime;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getOverTime() {
        return overTime;
    }

    public void setOverTime(Date overTime) {
        this.overTime = overTime;
    }

    public Integer getAddressId() {
        return addressId;
    }

    public void setAddressId(Integer addressId) {
        this.addressId = addressId;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getProgressId() {
        return progressId;
    }

    public void setProgressId(Integer progressId) {
        this.progressId = progressId;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", userName=").append(userName);
        sb.append(", phone=").append(phone);
        sb.append(", workerId=").append(workerId);
        sb.append(", orderTime=").append(orderTime);
        sb.append(", sendTime=").append(sendTime);
        sb.append(", state=").append(state);
        sb.append(", reciveTime=").append(reciveTime);
        sb.append(", finishTime=").append(finishTime);
        sb.append(", startTime=").append(startTime);
        sb.append(", overTime=").append(overTime);
        sb.append(", addressId=").append(addressId);
        sb.append(", description=").append(description);
        sb.append(", progressId=").append(progressId);
        sb.append(", score=").append(score);
        sb.append(", remarks=").append(remarks);
        sb.append(", enable=").append(enable);
        sb.append("]");
        return sb.toString();
    }
}